﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Tetris
{
    public class Square
    {
        public static int Width = 30;
        public static int Height = 30;
        public bool isEmpty { get; set; }
        public bool isGhostSquare { get; set; }
        public bool isPivot { get; set; }
        public Vector2 Position { get; set; }
        public Texture2D background { get; set; }
        public string backgroundString { get; set; }
        public Color Color { get; set; }
        public int gridX;
        public int gridY;
        public bool isStopped { get; set; }

        public Square(int x, int y, bool isPivot = false)
        {
            isEmpty = false;
            gridX = x;
            gridY = y;
            this.isPivot = isPivot;
        }

        public Square()
        {
            isEmpty = true;
        }
    }
}
